package com.multi.thread.chapter04.demo06;

public class ThreadA extends Thread {
	
	private MyService myService;

	public ThreadA(MyService myService) {
		this.myService = myService;
	}
	
	@Override
	public void run() {
		for (int i = 0; i < 100; i++) {
			myService.set();
		}
	}

}
